<?php
/**
 * Functions
 * 
 * General functions used in application
 * 
 * @author Gabriel PREDA
 * @copyright  Copyright (c) 2008-2009 Acceleron Team
 * @version    $Id: Boot.php 39 2008-12-16 21:01:57Z gabriel.preda $
 */


/**
 * Move active directory to the root of the application
 * this way all scripts run in the same directory
 * 
 * You should change this to the application root folder 
 */
chdir('/var/www/html/e-radical.ro/acceleron');

/**
 * Load important functions used in the 
 * application: __autoload & error handler
 */
include 'lib/Functions.php';

if (isset($_SERVER["SERVER_SOFTWARE"]) && !is_null($_SERVER["SERVER_SOFTWARE"]))
{
	session_start();

	bindtextdomain(LC_ALL, getcwd() . '/Locales');
	bind_textdomain_codeset(LC_ALL, 'utf8');
	textdomain(LC_MESSAGES);
}
